import 'package:flutter/material.dart';

class UtilView {
  static Widget getTitle(String title) {
    return Text(
      title,
      style: TextStyle(
        fontSize: 24.0,          // 字体大小
        color: Colors.black,      // 文字颜色
        fontWeight: FontWeight.bold, // 字体粗细
        shadows: [               // 文字阴影
          Shadow(
            color: Colors.black,
            offset: Offset(2.0, 2.0),
            blurRadius: 3.0,
          ),
        ],
      ),
    );
  }
}